Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [Reporting] Re-delete a file (#71730) #71803

Merged
merged 3 commits into from
Jul 16, 2020

Conversation

tsullivan
Copy link
Member

Backports the following commits to 7.x:

...that was accidentally recovered due to incorrect manual merge
@dhurley14
Copy link
Contributor

@elasticmachine merge upstream

@dhurley14
Copy link
Contributor

I thought I was commenting on my backport PR. Sorry for the upstream merge comment 😔

@tsullivan
Copy link
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Firefox UI Functional Tests.test/functional/apps/visualize/input_control_vis/chained_controls·js.visualize app input controls chained controls should disable child control when parent control is not set

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 3 times on tracked branches: https://github.com/elastic/kibana/issues/68472

[00:00:00]       │
[00:12:47]         └-: visualize app
[00:12:47]           └-> "before all" hook
[00:12:47]           └-> "before all" hook
[00:12:47]             │ debg Starting visualize before method
[00:12:47]             │ info [logstash_functional] Loading "mappings.json"
[00:12:47]             │ info [logstash_functional] Loading "data.json.gz"
[00:12:47]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:12:47]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:12:47]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:12:47]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:47]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:12:47]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:12:47]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:12:47]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:47]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:12:47]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:12:47]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:12:47]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:57]             │ info progress: 13545
[00:12:58]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:12:58]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:12:58]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:12:58]             │ info [long_window_logstash] Loading "mappings.json"
[00:12:58]             │ info [long_window_logstash] Loading "data.json.gz"
[00:12:58]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:12:58]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]]).
[00:12:58]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:12:58]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:13:08]             │ info progress: 11740
[00:13:10]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:13:10]             │ info [visualize] Loading "mappings.json"
[00:13:10]             │ info [visualize] Loading "data.json"
[00:13:10]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana_1/mPHRayXhQlagrKiygN7CPQ] deleting index
[00:13:10]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana_2/He6DTdmiTvi5zWccpyfwJA] deleting index
[00:13:10]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:13:10]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:13:10]             │ info [visualize] Created index ".kibana"
[00:13:10]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:13:10]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana/sp_GmRNAR5a8ihYKoRkGgQ] update_mapping [_doc]
[00:13:10]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:13:10]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana/sp_GmRNAR5a8ihYKoRkGgQ] update_mapping [_doc]
[00:13:10]             │ debg Migrating saved objects
[00:13:10]             │ proc [kibana]   log   [19:13:07.120] [info][savedobjects-service] Creating index .kibana_2.
[00:13:10]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:13:10]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] updating number_of_replicas to [0] for indices [.kibana_2]
[00:13:10]             │ proc [kibana]   log   [19:13:07.161] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:13:10]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:13:10]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] updating number_of_replicas to [0] for indices [.kibana_1]
[00:13:10]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] 10045 finished with response BulkByScrollResponse[took=24.9ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:13:10]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana/sp_GmRNAR5a8ihYKoRkGgQ] deleting index
[00:13:10]             │ proc [kibana]   log   [19:13:07.495] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:13:11]             │ proc [kibana]   log   [19:13:07.512] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:13:11]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana_2/ml7YK4aiQ5mFNwbHVU-CWA] update_mapping [_doc]
[00:13:11]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana_2/ml7YK4aiQ5mFNwbHVU-CWA] update_mapping [_doc]
[00:13:11]             │ proc [kibana]   log   [19:13:07.587] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:13:11]             │ proc [kibana]   log   [19:13:07.621] [info][savedobjects-service] Finished in 503ms.
[00:13:11]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:13:11]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594838562256373331] [.kibana_2/ml7YK4aiQ5mFNwbHVU-CWA] update_mapping [_doc]
[00:13:12]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:13]           └-: 
[00:13:13]             └-> "before all" hook
[00:13:13]             └-: input controls
[00:13:13]               └-> "before all" hook
[00:13:13]               └-: chained controls
[00:13:13]                 └-> "before all" hook
[00:13:13]                 └-> "before all" hook
[00:13:13]                   │ debg navigating to visualize url: http://localhost:6111/app/visualize#/
[00:13:13]                   │ debg navigate to: http://localhost:6111/app/visualize#/
[00:13:13]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:13]                   │ debg ... sleep(700) start
[00:13:14]                   │ debg ... sleep(700) end
[00:13:14]                   │ debg returned from get, calling refresh
[00:13:15]                   │ debg browser[info] "INFO: 2020-07-15T19:13:11Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:13:15]                   │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:15]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:15]                   │ debg currentUrl = http://localhost:6111/app/visualize#/
[00:13:15]                   │          appUrl = http://localhost:6111/app/visualize#/
[00:13:15]                   │ debg TestSubjects.find(kibanaChrome)
[00:13:15]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:17]                   │ debg browser[info] "INFO: 2020-07-15T19:13:13Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:13:18]                   │ debg ... sleep(501) start
[00:13:18]                   │ debg ... sleep(501) end
[00:13:18]                   │ debg in navigateTo url = http://localhost:6111/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:18]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:19]                   │ debg ... sleep(501) start
[00:13:19]                   │ debg ... sleep(501) end
[00:13:19]                   │ debg in navigateTo url = http://localhost:6111/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:19]                   │ debg TestSubjects.exists(statusPageContainer)
[00:13:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:22]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:22]                   │ debg TestSubjects.click(visListingTitleLink-chained-input-control)
[00:13:22]                   │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-chained-input-control"]') with timeout=20000
[00:13:22]                   │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-chained-input-control"]') with timeout=20000
[00:13:22]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:22]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:23]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:23]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:23]                 └-> should disable child control when parent control is not set
[00:13:23]                   └-> "before each" hook: global before each
[00:13:23]                   │ debg comboBox.getOptionsList, comboBoxSelector: listControlSelect0
[00:13:23]                   │ debg TestSubjects.find(listControlSelect0)
[00:13:23]                   │ debg Find.findByCssSelector('[data-test-subj="listControlSelect0"]') with timeout=10000
[00:13:33]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  input controls chained controls should disable child control when parent control is not set.png"
[00:13:33]                   │ info Current URL is: http://localhost:6111/app/visualize#/edit/68305470-87bc-11e9-a991-3b492a7c3e09?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(controls:!((fieldName:geo.src,id:%271559757816862%27,indexPattern:%27logstash-*%27,label:%27%27,options:(dynamicOptions:!t,multiselect:!t,order:desc,size:5,type:terms),parent:%27%27,type:list),(fieldName:clientip,id:%271559757836347%27,indexPattern:%27logstash-*%27,label:%27%27,options:(dynamicOptions:!t,multiselect:!t,order:desc,size:5,type:terms),parent:%271559757816862%27,type:list)),pinFilters:!f,updateFiltersOnChange:!f,useTimeFilter:!f),title:%27chained%20input%20control%27,type:input_control_vis))
[00:13:33]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  input controls chained controls should disable child control when parent control is not set.html
[00:13:33]                   └- ✖ fail: visualize app  input controls chained controls should disable child control when parent control is not set
[00:13:33]                   │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="listControlSelect0"])
[00:13:33]                   │ Wait timed out after 10050ms
[00:13:33]                   │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:13:33]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:13:33]                   │ 
[00:13:33]                   │ 

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="listControlSelect0"])
Wait timed out after 10050ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@tsullivan tsullivan merged commit c837744 into elastic:7.x Jul 16, 2020
@tsullivan tsullivan deleted the backport/7.x/pr-71730 branch July 16, 2020 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants